<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<script type="text/javascript" src="../../skin/jquery/jquery-1.4.4.min.js"></script>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title></title>
	<script type="text/javascript">
		function addImg(){
			var form=document.getElementById('imgForm');
			form.submit();
		}
	</script>
</head>
<body >
	<div align="center">
	<form id="imgForm" action="./addPicture.do" method="POST" enctype="multipart/form-data">
		<input type="hidden" name="searchCategoryCode" value="zjzs" />
		<table >
			<tbody>
				<tr>
					<td width="50px;" align="right">大图:</td>
					<td width="100px;" align="left"> <input type="file" name="bigFile" /></td>
					<td width="50px;" align="right">小图: </td>
					<td width="100px;" align="left"><input type="file" name="smallFile" /></td>
				</tr>
				<tr>
					<td colspan="4" align="center">
						<input type="button" value="上传" onclick="addImg();"/>
					</td>
				</tr>
				<tr>
					<td colspan="4" align="center">
						<font color="red">${baseCommond.errorMsg }</font>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	</div>
</body>
</html>